﻿<UserControl x:Class="Navegar.WPF.Exemple.View.FirstView"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
             d:DesignHeight="300" d:DesignWidth="300">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="*" />
            <RowDefinition Height="60" />
        </Grid.RowDefinitions>

        <StackPanel Orientation="Vertical" Grid.Row="0">
            <TextBlock Text="Premier ViewModel" FontSize="14pt" Foreground="{StaticResource MainColor}" Margin="10,10,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" />

            <TextBlock Text="Saisissez une donnée :" FontSize="8pt" Foreground="{StaticResource MainColor}" Margin="10,40,0,0" />
            <TextBox Text="{Binding Data}" FontSize="8pt" Width="350" Foreground="{StaticResource MainColor}" Margin="10,4,0,0" HorizontalAlignment="Left"/>
        </StackPanel>
        
        <Button Content="Suivant" VerticalAlignment="Center" HorizontalAlignment="Right" Margin="0,0,20,0" Grid.Row="1" Command="{Binding NextViewModelCommand}" />
    </Grid>
</UserControl>
